home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / tour.dxr / 00021_icon2 menu second frame.ls < prev    next >
Encoding:
Text File  |  2000-01-21  |  513 b   |  20 lines

  1. on exitFrame
  2.   global IconList2, gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow, gPlaySound, audioPath
  3.   if gPlaySound then
  4.     soundFile = getAudioFile(the frame)
  5.     sound playFile 1, audioPath & soundFile & ".AIF"
  6.     gPlaySound = 0
  7.   end if
  8.   repeat with rc in IconList2
  9.     doRollover(rc)
  10.   end repeat
  11.   repeat with rc in [gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow]
  12.     doRollover(rc)
  13.   end repeat
  14.   if soundBusy(1) then
  15.     go(the frame)
  16.   else
  17.     go(the frame + 1)
  18.   end if
  19. end
  20.